﻿using WhiteFlow.DevTrackingTool.UI.Events;
using WhiteFlow.Wpf.Common.Mvvm.Model;

namespace WhiteFlow.DevTrackingTool.UI.Models
{
    /// <summary>
    /// Represents an item contained in a worksheet.
    /// </summary>
    public class WorksheetItem : NotifyPropertyChangedBase
    {
        /// <summary>
        /// Called when the specific worksheet item has changed.
        /// </summary>
        protected void OnWorksheetItemChanged()
        {
            App.EventAggregator.GetEvent<WorksheetItemChangedEvent>().Publish(this);
        }
    }
}